import { getResourcePages } from '@/api/resources'
import type { QueryCondition } from '@/api/resources'
import { reactive,ref } from 'vue'

//查询条件
export const queryCondition = reactive<QueryCondition>({})

//查询结果
export const queryResult = ref()

//查询方法
export const queryResources = async (params = {}) => {
    Object.assign(queryCondition,params)
    const res = await getResourcePages(queryCondition)
    console.log(res)

}